package cn.ecut.service.impl;

import cn.ecut.dao.ManagerDao;

import cn.ecut.pojo.Manager;
import cn.ecut.service.IManagerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.lang.ref.PhantomReference;

@Service
public class ManagerServiceImpl extends ServiceImpl<ManagerDao, Manager> implements IManagerService {


    @Qualifier("managerDao")
    @Autowired
    private ManagerDao managerDao;

    @Override
    public String selectUsername(String username) {
        return managerDao.selectUsername(username);
    }

    @Override
    public String selectPassword(String username) {
        return managerDao.selectPassword(username);
    }
}
